package com.itheima.service;

import com.itheima.common.entity.PageResult;
import com.itheima.common.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;

public interface InspectionUnitService {
    List<CheckGroup> getAllInspectionUnit();

    PageResult findPage(QueryPageBean queryPageBean);

    void addInspectionUnit(CheckGroup checkGroup, List<Integer> checkitemIds);

    CheckGroup findById(Integer id);


    void deleteInspectionUnit(Integer id);

    List<Integer> findCheckGroupIdsBySetmealId(Integer setmealId);

    void editInspectionUnit(CheckGroup checkGroup, List<Integer> checkitemIds);
}
